package com.zucc.service;

import com.zucc.controller.req.*;
import com.zucc.controller.resp.DictItemResp;
import com.zucc.controller.resp.DictResp;
import com.zucc.service.base.PageData;

import java.util.List;

/**
 * @author : charspan
 * @Description :
 * @create : 2021-12-02 5:59 下午
 */
public interface DictService {

    PageData<DictResp> page(DictSearchReq req);

    void addDictItem(DictItemAddReq req);

    void modifyDictItem(DictItemModifyReq req);

    void deleteOne(Long id);

    void deleteMulti(Ids req);

    List<DictItemResp> getDictItemList(Long id);

    void add(DictAddReq req);
}
